﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Boa.HD.Reportes.Core;
using Boa.HD.Reportes.Negocios;
using Didsoft.Reporting.Utils;
using Sda.Reporting.Builders.Microsoft;

namespace Boa.HD.Reportes
{


    [LayoutReport("Boa.HD.Reportes.Layout.RptPromedioTecnico.rdlc")]
    public class RptPromedioTecnico : ReportRenderator
    {
        public override void PrepareReport()
        {
            var negocios = new HistorialProblemaNegocios();
            var items = negocios.GetPromediosOcupacionTecnico();
            LocalReport.DataSources.Add(new Microsoft.Reporting.WebForms.ReportDataSource("DSPromedio", items));

        }
    }
}
